//联系客服
var basePage = require('../../../common/BasePage');
Page({
    behaviors: [basePage],
    data: {
        config1:{}
    },
    onLoad:function(options){
        if(options.mobile){
            options.thumb= this.get_thumb(options.face,"wide");
            console.log(" options.face", options.face)
            this.setData({
                config1:options
            })
        }else{
            let config1=getApp().globalData.config1;
            config1.thumb=this.get_thumb(config1.face,"wide")
            this.setData({
                config1
            })
        }
       
    },
  
    copy() {
        wx.setClipboardData({
            data: 'data',
        })
    },
    previewImage() {
        wx.previewImage({
            urls: [this.data.config1.thumb]
        })
    }
})